import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);
const store = new Vuex.Store({
  state: {
    getData: null,
    getEditApiForm: null
  },
  mutations: {
    getRes (state, obj) {
      state.getData = obj
    },
    getEditData (state, obj) {
      state.getEditApiForm = obj
    }
  }
})

export default store
